/*
 * @Author: Minus11C 2893932134@qq.com
 * @Date: 2024-11-07 14:28:34
 * @LastEditors: Minus11C 2893932134@qq.com
 * @LastEditTime: 2024-11-07 15:23:49
 * @FilePath: \Chapter02\FreeRTOS\Source\port.h
 * @Description: 
 * 
 * Copyright (c) 2024 by Minus11C, All Rights Reserved. 
 * @fileName: Minus11C 2893932134@qq.com
 */
#ifndef PORT_H
#define PORT_H

#include "portmacro.h"
#include "projdefs.h"

/**
 * @description: 始化任务栈， 并更新栈顶指针
 * @return {*}
 */
StackType_t *pxPortInitialiseStack(StackType_t *pxTopOfStack,
                                   TaskFunction_t pxCode,
                                   void *pvParameters);
/**
 * @description: 启动调度器
 * @return {*}
 */
BaseType_t xPortStartScheduler(void);

#endif
